@import "reset", "mixin", "variable", "commcon";


.header-wrapper{
  position: relative;
  width: 100%;
  height: 170px;
  .header-content{
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 56px;
    background-color: rgba(255,255,255,0.4);
    z-index:5;
    .middle{
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      margin: 0 auto;
      width: 1160px;
      height: 100%;
      line-height: 56px;
      font-size: 13px;
      color: #222;
      .info{
        .item{
          display: inline-block;
          cursor: pointer;
          padding: 0 15px;
          &:hover{
            background-color: rgba(255,255,255,0.4);
          }
          .icon{
            margin-right: 4px;
            color: #20A0FF;
          }
        }
      }
      .user{
        .item{
          display: inline-block;
          cursor: pointer;
          padding: 0 15px;
          &:hover{
            background-color: rgba(255,255,255,0.4);
          }
          .icon{
            margin-right: 4px;
            color: #20A0FF;
          }
        }
      }
    }
  }
  .header-bg{
    width:100%;
    height: 170px;
    overflow: hidden;
    .bg-img{
      width:100%;
      height: 170px;
      min-width: 1160px;
    }
  }
}
//nav
.tab{
  width: 1160px;
  height: 50px;
  margin: 0 auto;
  font-size: 12px;
  .tab-item{
    display: inline-block;
    padding-left: 0;
    padding-right: 20px;
    padding-top: 10px;
    text-align: center;
    &:hover{
      a{
        color: #1D8CE0;
      }
    }
    &:last-child{
      padding-right: 0;
    }
    a{
      line-height: 25px;
      color: #222;
    }
    .num{
      display: block;
      font-size: 12px;
      line-height: 18px;
      background: rgb(255, 175, 201);
      border-radius: 4px;
      color: #fff;
    }
    .fa-home{
      display: block;
      line-height: 18px;
      color: rgb(255, 175, 201);

    }
  }
}


//book
.book-box {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 440px;
  .book-desk{
    position: absolute;
    bottom: -30px;
    width: 100%;
    height: 30px;
    background-color: rgba(7,17,27,0.5);
    transition: 0.5s all;
    color: $color-text-ll;
  }

  .book-left{
    position: relative;
    float: left;
    width: 805px;
    height: 100%;
    overflow: hidden;
    &:hover .book-desk{
      bottom: 0;
    }
    img{
      transform:  translateY(-10px) scale(1.2);
      transition: 0.5s all;
      cursor: pointer;
      &:hover{
        transform:  translateY(-30px) scale(1.2);
      }

    }
  }
  .book-right{

    float: right;
    width: 350px;
    height: 100%;
    .book-right-item{
      position: relative;
      width: 350px;
      height: 218px;
      overflow: hidden;
      &:hover .book-desk{
        bottom: 0;
      }
      img{
        transform:  translateY(-10px) scale(1.3);
        transition: 0.5s all;
        cursor: pointer;
        &:hover{
          transform:  translateY(-30px) scale(1.3);
        }
      }
    }
  }
  .dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    width: 80px;
    margin-left: -40px;
    li {
      float: left;
      margin: 5px;
      background: #fff;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      color: #fff;
      text-align: center;
      cursor: pointer;
      overflow: hidden;
      &.active {
        background: #717171;
        color: #717171;
      }
    }
  }

  .unslider-arrow {
    position: absolute;
    width: 33px;
    height: 50px;
    top: 45%;
    cursor: pointer;
    z-index: 100;
  }
  .unslider-arrow.prev {
    left: 0;
    background: url(../images/slide_l.png) no-repeat center center;
  }
  .unslider-arrow.prev:hover {
    background: url(../images/slide_l_1.png) no-repeat center center;
  }
  .unslider-arrow.next {
    right: 0;
    background: url(../images/slide_r.png) no-repeat center center;
  }
  .unslider-arrow.next:hover {
    background: url(../images/slide_r_1.png) no-repeat center center;
  }
}

//author
.index-nav-title {
  height: 120px;
  margin: 10px auto;
}

.fd-author{
  width: 100%;
  height: 240px;
  .author-box{
    position: relative;
    float: left;
    width: 220px;
    height: 240px;
    border: 2px solid #D9D9D9;
    margin-right: 10px;
    &:nth-of-type(5){
      margin-right: 0;
    }
    .author-top{
      width: 100%;
      height: 120px;
    }
    .author-bottom{
      width: 100%;
      height: 120px;
      padding-top: 1px;
      .desc{
        margin-top: 70px;
        text-align: center;
        align-items: center;
        h4{
          font-weight: normal;
          font-size: 20px;
        }
        p{
          line-height: 35px;
          font-size: 14px;
        }
      }
    }
    .author-avatar{
      position: absolute;
      top: 50%;
      left: 50%;
      margin-top: -50px;
      margin-left: -50px;
      overflow: hidden;
      border-radius: 50%;
      border: 4px solid white;
      width: 100px;
      height: 100px;

    }
  }
}

#indicatorContainer {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 100;
}
//news
.latest-news{
  width: 1144px;
  height: 400px;
  border:4px solid #D9D9D9;
  padding: 4px;
  position: relative;
  overflow: hidden;
  .news-left-box{
    width: 550px;
    height: 400px;
    position: relative;
    float: left;
  }
  .news-left{
    .news-item{
      transform: scale(1.5);
    }
  }
  .news-right{
    width: 560px;
    padding-right: 10px;
    height: 400px;
    float: right;
    overflow: hidden;
    .news-right-item{
      width: 560px;
      padding-right: 10px;
      height: 400px;
      position: absolute;
      background-color: white;
      transform: translateX(30px);
      transition: transform 1.5s;
      opacity: 0;
      overflow: hidden;
      &.active{
        transform: translateX(0px);
        opacity: 1;
      }
      .title{
        width:100%;
        height: 60px;
        line-height: 60px;
        font-size: 20px;
        margin-bottom: 10px;
      }
      .user-article{
        width: 100%;
        height: 70px;
        .user-image{
          width: 70px;
          height: 100%;
          border-radius: 50%;
          overflow: hidden;
          float: left;
          margin-right: 10px;
        }
        .user-info{
          float: left;
          margin-left: 5px;
          width: 300px;
          height: 100%;
          .user-info-item{
            width: 100%;
            height: 50%;
            span{
              font-size: 22px;
              color: #5E5E5E;
            }
          }
        }
        .article-fav{
          float: right;
          width: 150px;
          height: 70px;
          color: #e7e7e7;
          .article-fav-item{
            width: 100%;
            height: 50%;
            font-size: 0;
            background-color: #B1CFC5;
            &:nth-of-type(1){
              background-color: #008E60;
            }
            span{
              display: inline-block;
              width: 50px;
              height: 50%;
              text-align: center;
              line-height: 35px;
              font-size: 16px;
            }
          }
        }
      }
      .user-desc{
        width: 100%;
        height: 120px;
        overflow: hidden;
        text-overflow: ellipsis;


        text-Indent: 28px;
        margin-top: 30px;
        font-size: 16px;
        color: #6F6F6F;
        line-height: 30px;
      }
      .more{
        color: #00A670;
        margin-top: 30px;
        width: 150px;
        height: 35px;
        border: 2px solid #00A670;
        float: right;

        text-align: center;
        font-size: 18px;
        line-height: 30px;
      }
    }
  }
}

.nivo-controlNav {
  position: absolute;
  bottom: 0;
  z-index: 55;
  left: 20px; }

.nivo-controlNav a {
  width: 11px;
  height: 11px;
  color: black;
  display: block;
  float: left;
  background-color: rgba(0, 0, 0, 0.5);
  margin-right: 7px;
  border-radius: 50%; }

.nivo-controlNav .active {
  background-color: rgba(255, 255, 255, 0.5); }

.movie-box{
  width: 100%;
  height: 400px;
  .movie-box-item{
    width: 100%;
    height: 400px;
    position: relative;
  }
}

.movie-box .bette_video_author {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 900px;
  height: 300px;
  margin-left: -450px;
  margin-top: -150px;
}


.movie-box .bette_video_author_video {
  width: 242px;
  height: 292px;
  background-color: white;
  padding: 4px;
  overflow: hidden;
  float: left; }

.movie-box .bette_video_author_video p {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; }

.movie-box .bette_video_author_video .bette_video_author_video_name {
  width: 100%;
  height: 30px;
  margin-top: 5px; }

.movie-box .bette_video_author_video .bette_video_author_video_name .left {
  width: 120px;
  height: 30px;
  float: left;
  font-size: 14px;
  line-height: 30px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; }

.movie-box .bette_video_author_video .bette_video_author_video_name .right {
  width: 20px;
  height: 30px;
  float: right;
  font-size: 16px;
  color: gray;
  line-height: 30px;
  text-align: center; }

.movie-box .bette_video_author_content {
  float: left;
  width: 440px;
  height: 220px;
  margin-top: 38px;
  margin-left: 50px;
  border: 2px solid white;
  padding: 5px;
  background-color: rgba(0, 0, 0, 0.5); }

.movie-box .bette_video_author_content_tab {
  width: 100%;
  height: 30px;
  text-align: center;
  line-height: 30px;
  font-size: 20px;
  color: white; }

.movie-box .bette_video_author_content_content {
  width: 100%;
  height: 180px;
  margin-top: 10px;
  text-Indent: 28px;
  font-size: 16px;
  color: white;
  line-height: 30px; }

.news-res .news-res-mask {
  background-color: black;
  opacity: 0;
  transition: opacity 1s; }
.news-res .news-res-data {
  transform: translateY(35px);
  transition: transform 0.5s; }
.news-res .news-res-box:hover .news-res-mask {
  opacity: 0.5; }
.news-res .news-res-box:hover .news-res-data {
  transform: translateY(0); }



.news-res{
  float: left;
  margin-right: 10px;
  &:nth-last-of-type(1){
    margin-right: 0;
  }
  &.res-right{
    margin-right: 0
  }
  .news-res-box{
    width: 274px;
    height: 350px;
    border: 4px solid #D9D9D9;
    margin-bottom: 20px;
    .news-image{
      position: relative
    }
    .news-res-mask{
      width: 100%;
      height: 270px;
      background-color: rgba(0,0,0,0.5);
      position: absolute;
      top: 0;
      left: 0
    }
    .news-category{
      width: 100%;
      height: 50px;
      text-align: center;
      position: absolute;
      top: 50%;
      margin-top: -25px;
      color: #fff;
      overflow: hidden;
      font-size: 16px;


    }
    .user-info{
      max-width: 250px;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      font-size: 16px;
      font-weight: 500;
      height: 35px;
      padding-top: 6px;
      padding-left: 10px;
      color: #646464;
    }
    .news-title{

      padding-left: 10px;
      color: #646464;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      -o-text-overflow: ellipsis;
      font-size: 16px;
      font-weight: 500;
      height: 35px;
      padding-top: 6px;
    }
  }
}





